package com.sgb.goods.test;

import com.google.gson.annotations.SerializedName;

/**
 * 登录实体
 * @author cyj
 */
public class LoginEntity {
    
    @SerializedName(value = "access_token", alternate = {"token"})
    public String token;
    @SerializedName("msg")
    public String msg;
    @SerializedName("phone")
    public String phone;
    @SerializedName("token_type")
    public String tokenType;
    @SerializedName("expires_in")
    public String expiresIn;
    @SerializedName("scope")
    public String scope;
    @SerializedName("license")
    public String license;
    @SerializedName("remember_me")
    public String rememberMe;
    @SerializedName("jti")
    public String jti;
    @SerializedName("code")
    public String code;
    @SerializedName("needRegister")
    public boolean isNeedRegister;
    @SerializedName("imAccount")
    public String imAccount;
    @SerializedName("imToken")
    public String imToken;
    @SerializedName("resourcePCToken")
    public String resourcePcToken;
    @SerializedName("resourceAPPToken")
    public String resourceAppToken;

    @Override
    public String toString() {
        return "LoginEntity{" +
                "token='" + token + '\'' +
                ", msg='" + msg + '\'' +
                ", phone='" + phone + '\'' +
                ", tokenType='" + tokenType + '\'' +
                ", expiresIn='" + expiresIn + '\'' +
                ", scope='" + scope + '\'' +
                ", license='" + license + '\'' +
                ", rememberMe='" + rememberMe + '\'' +
                ", jti='" + jti + '\'' +
                ", code='" + code + '\'' +
                ", isNeedRegister=" + isNeedRegister +
                ", imAccount='" + imAccount + '\'' +
                ", imToken='" + imToken + '\'' +
                ", resourcePcToken='" + resourcePcToken + '\'' +
                ", resourceAppToken='" + resourceAppToken + '\'' +
                '}';
    }
}
